home *** CD-ROM | disk | FTP | other *** search
- ' this file gathers a few code samples that require Option Strict Off
- Option Strict Off
-
- Module OptionStrictOff
-
- ' this procedure tests passing a ByRef argument a value of a different type
-
- Sub TestCallByRef()
- Dim intValue As Integer
- Call MyProc(intValue)
- End Sub
-
- Sub MyProc(ByRef lngArg As Long)
- lngArg = 9999
- End Sub
- End Module
-